﻿#ifndef MERGETWOSORTEDLISTS_H_
#define MERGETWOSORTEDLISTS_H_

namespace algorithm {
    /**
     * @brief 合并两个有序链表.
     * https://leetcode.cn/problems/merge-two-sorted-lists/description/
     */
    class CMergeTwoSortedLists
    {
    public:
        static ListNode* Merge(ListNode* list1, ListNode* list2);
    };
}

#endif //!MERGETWOSORTEDLISTS_H_
